package cn.shentianlan.service;


import cn.shentianlan.criteria.TeacherCriteria;
import cn.shentianlan.domain.dto.TeacherDTO;
import cn.shentianlan.utils.Result;

/**
 * @Author 陈俊源
 * @Description TODO
 * @Date 2021/3/27
 * @Version 1.0
 */
public interface TeacherService {
    Result saveOrUpdate(TeacherDTO teacherDTO);

    Result getTeacherById(Long id);

    Result findTeacherByCriteria(TeacherCriteria criteria);

    Result deleteTeacherById(Long id);
}
